
/*
 *    MCreator note: This file will be REGENERATED on each build.
 */
package net.mcreator.ender_logistics.init;

import net.minecraftforge.registries.RegistryObject;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.DeferredRegister;

import net.minecraft.world.level.block.Block;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.BlockItem;

import net.mcreator.ender_logistics.item.SpeedUpgradeModuleStrengthenItem;
import net.mcreator.ender_logistics.item.SpeedUpgradeModuleEliteItem;
import net.mcreator.ender_logistics.item.SpeedUpgradeModuleBasicItem;
import net.mcreator.ender_logistics.item.RedstoneControlModuleItem;
import net.mcreator.ender_logistics.item.BlankModuleItem;
import net.mcreator.ender_logistics.item.BindingModuleItem;
import net.mcreator.ender_logistics.EnderLogisticsMod;

public class EnderLogisticsModItems {
	public static final DeferredRegister<Item> REGISTRY = DeferredRegister.create(ForgeRegistries.ITEMS, EnderLogisticsMod.MODID);
	public static final RegistryObject<Item> BLANK_MODULE = REGISTRY.register("blank_module", () -> new BlankModuleItem());
	public static final RegistryObject<Item> SPEED_UPGRADE_MODULE_BASIC = REGISTRY.register("speed_upgrade_module_basic",
			() -> new SpeedUpgradeModuleBasicItem());
	public static final RegistryObject<Item> SPEED_UPGRADE_MODULE_STRENGTHEN = REGISTRY.register("speed_upgrade_module_strengthen",
			() -> new SpeedUpgradeModuleStrengthenItem());
	public static final RegistryObject<Item> SPEED_UPGRADE_MODULE_ELITE = REGISTRY.register("speed_upgrade_module_elite",
			() -> new SpeedUpgradeModuleEliteItem());
	public static final RegistryObject<Item> REDSTONE_CONTROL_MODULE = REGISTRY.register("redstone_control_module",
			() -> new RedstoneControlModuleItem());
	public static final RegistryObject<Item> BINDING_MODULE = REGISTRY.register("binding_module", () -> new BindingModuleItem());
	public static final RegistryObject<Item> ENDER_LOGISTICS_ITEM_TRANSPORT = block(EnderLogisticsModBlocks.ENDER_LOGISTICS_ITEM_TRANSPORT,
			EnderLogisticsModTabs.TAB_ENDER_LOGISTICS);
	public static final RegistryObject<Item> ENDER_LOGISTICS_ITEM_RECEIVER = block(EnderLogisticsModBlocks.ENDER_LOGISTICS_ITEM_RECEIVER,
			EnderLogisticsModTabs.TAB_ENDER_LOGISTICS);

	private static RegistryObject<Item> block(RegistryObject<Block> block, CreativeModeTab tab) {
		return REGISTRY.register(block.getId().getPath(), () -> new BlockItem(block.get(), new Item.Properties().tab(tab)));
	}
}
